﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace SosData
{
    public class User : EntityBase
    {

        public int IdUser { get; set; }
        public string Name { get; set; }
        public string NickName { get; set; }
        public string email { get; set; }
        public string Password { get; set; }

        public Roles Rol { get; set; }

        public enum Roles
        {
            Admintrador,
            Usuario,
            Invitado,
        }

        public List<Permiso> Permisos { get; set; }
        public List<FormStatus> FormsStatus { get; set; }
    }
}
